//go:build wireinject
// +build wireinject

// The build tag makes sure the stub is not built in the final build.
package main

import (
	"demo/internal/conf"
	"demo/internal/server"
	"demo/internal/biz"
	"demo/internal/data"
	"demo/internal/controller"
	"demo/api/user"

	"github.com/gogf/gf/v2/net/ghttp"
	"github.com/google/wire"
)

func wireGfApp(bcf *conf.BaseConf, bc *conf.BootComponent) (*ghttp.Server, error) {
	panic(wire.Build(biz.Provider,  data.Provider, server.Provider, controller.Provider))
}

func wireCtrl(bcf *conf.BaseConf, bc *conf.BootComponent) (user.IUserV1, error) {
	panic(wire.Build(biz.Provider,  data.Provider, controller.Provider ))
}
